package sample;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;


@EnableFeignClients
@EnableDiscoveryClient   // 不想注册可以添加设置设置: eureka.client.enabled=false
@SpringBootApplication
public class Setup {
	
	private final Logger logger = LoggerFactory.getLogger(this.getClass()); 

	public static void main(String[] args) throws Exception {
		SpringApplication.run(Setup.class, args);
	}
}
